package com.turing.post.datatranfer.util;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 制卡控制表表
 * @author WZD
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "CardControl")
public class CardControl implements Serializable{
	/**
	 * 制卡商（新库有）
	 */
	public final static String issueCompanyNo = "961850";
	/**
	 * 制卡机构--西邮寄发卡商一级机构char(10)
	 */
	private String branchNo;
	/**
	 * 制卡批次号char(6)
	 */
	private String batchNo;
	/**
	 * 制卡人char(6)
	 */
	private String operNo;
	/**
	 * 制卡起始时间datetime
	 */
	private Date makeStartTime;
	/**
	 * 制卡终止时间datetime
	 */
	private Date makeEndTime;
	/**
	 * 卡片种类char(2)
	 */
	private String cardKindId;
	/**
	 * 卡面值number(6)
	 */
	private Integer cardParValue;
	/**
	 * 制卡张数number(6)
	 */
	private Integer cardCount;
	/**
	 * 有效期date
	 */
	private String expired;
	/**
	 * 状态char(1)
	 */
	private String status;
	@Id
	@Column(name = "BatchNo", nullable = false)
	public String getBatchNo() {
		return batchNo;
	}	
	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}
	@Column(name = "OperNo", nullable = false)
	public String getOperNo() {
		return operNo;
	}
	public void setOperNo(String operNo) {
		this.operNo = operNo;
	}
	@Column(name = "MakeStartTime", nullable = false)
	public Date getMakeStartTime() {
		return makeStartTime;
	}
	public void setMakeStartTime(Date makeStartTime) {
		this.makeStartTime = makeStartTime;
	}
	@Column(name = "MakeEndTime", nullable = false)
	public Date getMakeEndTime() {
		return makeEndTime;
	}
	public void setMakeEndTime(Date makeEndTime) {
		this.makeEndTime = makeEndTime;
	}
	@Column(name = "CardKindId", nullable = false)
	public String getCardKindId() {
		return cardKindId;
	}
	public void setCardKindId(String cardKindId) {
		this.cardKindId = cardKindId;
	}
	@Column(name = "CardParValue", nullable = false)
	public Integer getCardParValue() {
		return cardParValue;
	}
	public void setCardParValue(Integer cardParValue) {
		this.cardParValue = cardParValue;
	}
	@Column(name = "CardCount", nullable = false)
	public Integer getCardCount() {
		return cardCount;
	}
	public void setCardCount(Integer cardCount) {
		this.cardCount = cardCount;
	}
	@Column(name = "Expired", nullable = false)
	public String getExpired() {
		return expired;
	}
	public void setExpired(String expired) {
		this.expired = expired;
	}
	@Column(name = "Status", nullable = false)
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	@Column(name = "BranchNo", nullable = false)
	public String getBranchNo() {
		return branchNo;
	}
	public void setBranchNo(String branchNo) {
		this.branchNo = branchNo;
	}
	public static String getIssueCompanyNo() {
		return issueCompanyNo;
	}
	
}
